﻿using DirectSell.Model.Query;
using DirectSell.Model.User;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Webdiyer.WebControls.Mvc;

namespace Direct.IDAL.Manager.ServiceCenter
{
    /// <summary>
    /// 服务中心审核仓储接口
    /// </summary>
    public interface IServiceCenterAuditRepository:IBaseManagerRepository
    {
        /// <summary>
        /// 查询列表
        /// </summary>
        /// <param name="condition"></param>
        /// <returns></returns>
        Task<PagedList<UserInforMationDetails>> QueryList(BaseCondition condition);
        /// <summary>
        /// 审核
        /// </summary>
        /// <param name="usercode"></param>
        /// <param name="type"></param>
        /// <param name="hstable"></param>
        void Audit(string usercode, int type, ref Hashtable hstable);
        /// <summary>
        /// 删除记录
        /// </summary>
        /// <param name="usercode"></param>
        /// <param name="hstable"></param>
        void DelectRecord(string usercode, ref Hashtable hstable);
        /// <summary>
        /// 查询服务中心信息
        /// </summary>
        /// <param name="usercode"></param>
        /// <returns></returns>
         DirectSell.Model.ServiceCenter.ServiceCenter QueryCenter(string usercode);
    }
}
